package com.iran.decorator.example2;

public class AddHotWater extends Decorator {
    public AddHotWater(MilkTea milkTea) {
        super(milkTea);
    }

    @Override
    public int getPrice() {
        return super.getPrice()+0;
    }

    @Override
    public String getName() {
        return super.getName()+"+热;";
    }
}
